package com.yy.wga.business.feign.controller;


import com.yy.wga.business.feign.response.BusinessCourseInfoResponse;
import com.yy.wga.common.core.dto.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * 商学院课程
 *
 * @author guochao
 * @since 2025-02-09 15:18:37
 */
@FeignClient(name = "BusinessCourseFeign", url = "https://wga-api.xianrcj.com",
        path = "/api/business/course")
public interface BusinessCourseFeign {

    /**
     * 获取课程列表
     * @return
     */
    @PostMapping("list")
    Result<List<BusinessCourseInfoResponse>> page();
}
